package com.example.wlzz.service;

import com.example.wlzz.dto.OpenUserInfoDTO;
import com.example.wlzz.entity.UserInfo;
import com.example.wlzz.vo.ResultVO;

public interface UserInfoService {
    ResultVO alterNickName(String nickName, String token);
    ResultVO alterRealName(String realName,String token);
    ResultVO alterSex(String sex,String token);
    ResultVO alterBirth(String birth,String token);
    ResultVO alterMotto(String motto,String token);
    ResultVO alterSchoolName(String schoolName,String token);
    ResultVO alterDepartmentName(String departmentName,String token);
    ResultVO alterMajorName(String majorName,String token);
    ResultVO alterSno(String sno,String token);
    ResultVO alterSnoPassword(String snoPassword,String token);
    ResultVO alterSnoAndSnoPassword(String sno,String snoPassword,String token);
    ResultVO alterImgUrl(String imgUrl,String token);
    ResultVO getUserInfo(String token);
    UserInfo findByUserId(Integer userId);
    ResultVO useridGetForInfo(int userid);
}
